import {Spin} from "antd";
import React from "react";

const loaddingCom = (
  <Spin
    style={{
      display: "flex",
      alignItems: "center",
      justifyContent: "center",
      minHeight: 20,
      fontSize: 14,
    }}
    tip="组件加载中...."
  />
);

const Line = React.lazy(() => import("./line"));
const Bar = React.lazy(() => import("./bar"));
const Pie = React.lazy(() => import("./pie"));

export {Line, Bar, Pie};
